package entity;


/**
 * author: zhangxiong
 * created on: 17-3-12 上午9:11
 * description:
 */

public class SchoolNews {

    //好友聊天类型
    public static final int NEWS_TYPE_FIRST = 0;
    //话题聊天类型
    public static final int NEWS_TYPE_OTHERS = 1;

    private Long id;

    private String schoolname;    //学校名称

    private Long schoolNewsNum;    //新闻顺序

    private String schoolNewsCaption;    //发布的消息标题

    private String schoolNewsAbstact;    //发布消息简述

    private String schoolAvatar;      //学校头像

    private int schoolNewsType;      //学校头像

    private String schoolNewsUrl;      //学校新闻链接


    public SchoolNews(Long id,String schoolname, Long schoolNewsNum,
                      String schoolNewsCaption, String schoolNewsAbstact,
                      String schoolAvatar, int schoolNewsType,String schoolNewsUrl) {
        this.id = id;
        this.schoolname = schoolname;
        this.schoolNewsNum = schoolNewsNum;
        this.schoolNewsCaption = schoolNewsCaption;
        this.schoolNewsAbstact = schoolNewsAbstact;
        this.schoolAvatar = schoolAvatar;
        this.schoolNewsType = schoolNewsType;
        this.schoolNewsUrl = schoolNewsUrl;
    }

    public SchoolNews() {
    }


    public String getSchoolAvatar() {
        return schoolAvatar;
    }

    public void setSchoolAvatar(String schoolAvatar) {
        this.schoolAvatar = schoolAvatar;
    }

    public Long getSchoolNewsNum() {
        return schoolNewsNum;
    }

    public void setSchoolNewsNum(Long schoolNewsNum) {
        this.schoolNewsNum = schoolNewsNum;
    }

    public String getSchoolNewsCaption() {
        return schoolNewsCaption;
    }

    public void setSchoolNewsCaption(String schoolNewsCaption) {
        this.schoolNewsCaption = schoolNewsCaption;
    }

    public String getSchoolNewsAbstact() {
        return schoolNewsAbstact;
    }

    public void setSchoolNewsAbstact(String schoolNewsAbstact) {
        this.schoolNewsAbstact = schoolNewsAbstact;
    }

    public String getSchoolname() {
        return schoolname;
    }

    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSchoolNewsUrl() {
        return schoolNewsUrl;
    }

    public void setSchoolNewsUrl(String schoolNewsUrl) {
        this.schoolNewsUrl = schoolNewsUrl;
    }

    public int getSchoolNewsType() {
        return schoolNewsType;
    }

    public void setSchoolNewsType(int schoolNewsType) {
        this.schoolNewsType = schoolNewsType;
    }
}